<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>用户注册</title>
  <link rel="stylesheet" href="./lib/bootstrap.min.css">
  <link rel="stylesheet" href="./css/reg.css">

</head>

<body>

  <div>
    <div class="main-box">

      <div class="card">
        <div class="list-group list-group-flush">
          <div class="list-group-item fs-5 text-bg-success">
            <span>邮箱注册</span>
            <span>用户注册</span>
          </div>

          <div class="list-group-item">

            <div class="mt-3 mb-3">
              <input class="form-control" type="text" id="txt_email" placeholder="邮箱地址">
            </div>

            <div class="mt-3 mb-3 d-flex">
              <div>
                <input type="text" id="txt_code" class="form-control">
              </div>
              <button id="btnSendEmail" class="btn btn-link">获取验证码</button>
            </div>

          </div>

          <div class="list-group-item text-end">
            <a class="btn btn-link" href="login.html">返回登录</a>
            <div class="btn btn-success btn-sm" id="btnReg">注册</div>
          </div>


          <div class="list-group-item">

            <div class="mt-3 mb-3">
              <input class="form-control" type="text" id="txt_username" placeholder="登录名">
            </div>

            <div class="mt-3 mb-3">
              <input class="form-control" type="password" id="txt_password" placeholder="密码">
            </div>

            <div class="mt-3 mb-3">
              <input class="form-control" type="text" id="txt_nickname" placeholder="用户名">
            </div>

          </div>

          <div class="list-group-item text-end">
            <a class="btn btn-link" href="login.html">返回登录</a>
            <div class="btn btn-success btn-sm" id="btnUReg">注册</div>
          </div>

        </div>
      </div>

    </div>
  </div>


  <!-- 弹出层提示框 -->
  <div class="toast-container position-fixed bottom-0 end-0 p-3">
    <div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
      <div class="toast-header">
        <strong class="me-auto">服务器信息</strong>
        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
      </div>
      <div class="toast-body">
        用户信息添加成功
      </div>
    </div>
  </div>

  <!-- js的部分 -->
  <script src="./lib/bootstrap.bundle.min.js"></script>
  <script type="module" src="./js/reg.js"></script>

</body>

</html>